package cn.stylefeng.guns.sys.modular.system.db2.mapper;


import cn.stylefeng.guns.sys.modular.system.db2.entity.DbiShop;
import cn.stylefeng.guns.sys.modular.system.db2.model.params.DbiShopParam;
import cn.stylefeng.guns.sys.modular.system.db2.model.result.DbiShopResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiangge
 * @since 2020-10-27
 */
public interface DbiShopMapper extends BaseMapper<DbiShop> {

    /**
     * 获取列表
     *
     * @author jiangge
     * @Date 2020-10-27
     */
    List<DbiShopResult> customList(@Param("paramCondition") DbiShopParam paramCondition);

    /**
     * 获取map列表
     *
     * @author jiangge
     * @Date 2020-10-27
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") DbiShopParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author jiangge
     * @Date 2020-10-27
     */
    Page<DbiShopResult> customPageList(@Param("page") Page page, @Param("paramCondition") DbiShopParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author jiangge
     * @Date 2020-10-27
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") DbiShopParam paramCondition);

    List<DbiShopResult> listShopNormal();

}
